Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 252.6 MB, free: 8.316 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 216.5 kB / 309.2 MB, free: 3.16 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5444/0.5444, allocations: 101.3 MB / 467 MB, free: 10.36 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_StartFromExternal_using_VSIO_outputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_StartFromExternal_using_VSIO_outputs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003021/0.003021, allocations: 83.88 kB / 0.6244 GB, free: 12.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4382, allocations: 78.61 MB / 0.7012 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs): time 0.005862/0.4441, allocations: 6.751 MB / 0.7078 GB, free: 4.383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.4475, allocations: 2.028 MB / 0.7098 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006231/0.4482, allocations: 10.31 kB / 0.7098 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005129/0.4487, allocations: 250.9 kB / 0.71 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.4499, allocations: 0.6499 MB / 0.7106 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.4514, allocations: 0.7704 MB / 0.7114 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.4529, allocations: 1.53 MB / 0.7129 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.4532, allocations: 218.8 kB / 0.7131 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.4539, allocations: 0.6363 MB / 0.7137 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008767/0.4548, allocations: 0.7984 MB / 0.7145 GB, free: 372 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.455, allocations: 123 kB / 0.7146 GB, free: 372 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004608/0.4554, allocations: 240.7 kB / 0.7149 GB, free: 332 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.4556, allocations: 315.1 kB / 0.7152 GB, free: 120 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005874/0.4562, allocations: 0.6672 MB / 0.7158 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.4582, allocations: 1.622 MB / 0.7174 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4582, allocations: 6.812 kB / 0.7174 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4582, allocations: 0 / 0.7174 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.166e-05/0.4582, allocations: 0 / 0.7174 GB, free: 14.93 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.008839/0.4671, allocations: 2.636 MB / 0.72 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.4671, allocations: 9.375 kB / 0.72 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.4673, allocations: 128.5 kB / 0.7201 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004186/0.4715, allocations: 0.6996 MB / 0.7208 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.4729, allocations: 0.7503 MB / 0.7215 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004538/0.4733, allocations: 459 kB / 0.722 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.4735, allocations: 79.97 kB / 0.722 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/0.4762, allocations: 1.208 MB / 0.7232 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.4762, allocations: 0.8125 kB / 0.7232 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.4763, allocations: 31.53 kB / 0.7232 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.4763, allocations: 22.5 kB / 0.7233 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002927/0.4793, allocations: 1.168 MB / 0.7244 GB, free: 11.72 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008043/0.4873, allocations: 3.762 MB / 0.7281 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007829/0.4951, allocations: 2.039 MB / 0.7301 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/0.4972, allocations: 0.7263 MB / 0.7308 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.4974, allocations: 20.14 kB / 0.7308 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.4974, allocations: 47.34 kB / 0.7308 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 2.805e-06/0.4974, allocations: 1.156 kB / 0.7308 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.03859/0.536, allocations: 8.913 MB / 0.7395 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.5361, allocations: 87.77 kB / 0.7396 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/0.5375, allocations: 0.9266 MB / 0.7405 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.5377, allocations: 41.02 kB / 0.7406 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/0.5381, allocations: 499.1 kB / 0.7411 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/0.5385, allocations: 355.4 kB / 0.7414 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003829/0.5389, allocations: 170.9 kB / 0.7416 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.539, allocations: 346.8 kB / 0.7419 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.5408, allocations: 0.6959 MB / 0.7426 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.5427, allocations: 0.8565 MB / 0.7434 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003662/0.5464, allocations: 1.569 MB / 0.7449 GB, free: 432 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.5464, allocations: 5.062 kB / 0.7449 GB, free: 428 kB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01626/0.5626, allocations: 4.556 MB / 0.7494 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.5627, allocations: 10.53 kB / 0.7494 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.5627, allocations: 3.062 kB / 0.7494 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008458/0.5711, allocations: 2.299 MB / 0.7516 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008545/0.572, allocations: 151.8 kB / 0.7518 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03082/0.6028, allocations: 11.01 MB / 0.7625 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.6047, allocations: 187.2 kB / 0.7627 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002291/0.6049, allocations: 32 kB / 0.7628 GB, free: 0.9102 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0006415/0.6055, allocations: 233.7 kB / 0.763 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004254/0.606, allocations: 131.1 kB / 0.7631 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01655/0.6225, allocations: 4.501 MB / 0.7675 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.6225, allocations: 8 kB / 0.7675 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6225, allocations: 0 / 0.7675 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.957e-05/0.6226, allocations: 7.984 kB / 0.7675 GB, free: 12.01 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01994/0.6425, allocations: 6.178 MB / 0.7735 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.6425, allocations: 0 / 0.7735 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006632/0.6432, allocations: 107.9 kB / 0.7736 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008028/0.6512, allocations: 2.167 MB / 0.7758 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/0.6514, allocations: 20 kB / 0.7758 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02734/0.6788, allocations: 9.77 MB / 0.7853 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6788, allocations: 0 / 0.7853 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01896/0.6977, allocations: 5.609 MB / 0.7908 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004874/0.6982, allocations: 146.9 kB / 0.7909 GB, free: 3.723 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003411/0.6985, allocations: 20 kB / 0.791 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.7, allocations: 115.9 kB / 0.7911 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008356/0.7008, allocations: 248.5 kB / 0.7913 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.701, allocations: 27.98 kB / 0.7913 GB, free: 3.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001037/0.702, allocations: 0.6315 MB / 0.792 GB, free: 2.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.702, allocations: 3.938 kB / 0.792 GB, free: 2.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001573/0.7036, allocations: 459.6 kB / 0.7924 GB, free: 2.227 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01936/0.7229, allocations: 6.186 MB / 0.7984 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009034/0.732, allocations: 2.535 MB / 0.8009 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.732, allocations: 3.938 kB / 0.8009 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006662/0.7386, allocations: 1.739 MB / 0.8026 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.7401, allocations: 104.4 kB / 0.8027 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04774/0.7878, allocations: 16.24 MB / 0.8186 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009281/0.7887, allocations: 1.103 MB / 0.8197 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004526/0.7892, allocations: 82.98 kB / 0.8197 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008142/0.79, allocations: 447.3 kB / 0.8202 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of SimCode: time 1.232e-06/0.79, allocations: 4 kB / 0.8202 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09023/0.8802, allocations: 39.96 MB / 0.8592 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.53, allocations: 6.75 kB / 0.8592 GB, free: 13.65 MB / 0.6231 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_StartFromExternal_using_VSIO_outputs_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_StartFromExternal_using_VSIO_outputs.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.970879449974746] Failed to read output from testmodel.py, exit status != 0: 16.67145897797309 16.693909964 16.231544582 Calling exit ...