Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0007959/0.0007959, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8508/0.8508, allocations: 177.2 MB / 199.4 MB, free: 5.93 MB / 186.7 MB " [Timeout remaining time 179] 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.001382/0.001382, allocations: 160.5 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2563/0.2563, allocations: 80.25 MB / 392.6 MB, free: 2.438 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_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_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_StartFromExternal_using_VSIO_outputs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.5548 GB, free: 12.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.566e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.31 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs): time 0.00463/0.004645, allocations: 5.908 MB / 0.5605 GB, free: 6.371 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.007598, allocations: 1.927 MB / 0.5624 GB, free: 4.441 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003668/0.007964, allocations: 12 kB / 0.5624 GB, free: 4.43 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.008372, allocations: 241.8 kB / 0.5627 GB, free: 4.191 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009074/0.00928, allocations: 0.652 MB / 0.5633 GB, free: 3.535 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.01028, allocations: 0.7428 MB / 0.564 GB, free: 2.797 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.01144, allocations: 1.576 MB / 0.5656 GB, free: 1.215 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.01174, allocations: 213 kB / 0.5658 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009232/0.01266, allocations: 0.8728 MB / 0.5666 GB, free: 120 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1916/0.2043, allocations: 0.6266 MB / 0.5672 GB, free: 16.24 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003502/0.2046, allocations: 124.3 kB / 0.5674 GB, free: 16.24 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004849/0.2051, allocations: 232.5 kB / 0.5676 GB, free: 16.24 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.2053, allocations: 317.9 kB / 0.5679 GB, free: 16.24 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003815/0.2057, allocations: 451.9 kB / 0.5683 GB, free: 16.24 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.2073, allocations: 1.667 MB / 0.5699 GB, free: 16.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2073, allocations: 1.062 kB / 0.5699 GB, free: 16.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2073, allocations: 0.625 kB / 0.5699 GB, free: 16.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.2074, allocations: 0 / 0.5699 GB, free: 16.16 MB / 442.7 MB 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.005265/0.2126, allocations: 2.626 MB / 0.5725 GB, free: 15.35 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.2127, allocations: 9.406 kB / 0.5725 GB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.2128, allocations: 131.1 kB / 0.5726 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/0.2152, allocations: 0.6986 MB / 0.5733 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.2163, allocations: 0.7605 MB / 0.5741 GB, free: 14.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002519/0.2165, allocations: 454.7 kB / 0.5745 GB, free: 14.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.2166, allocations: 76.7 kB / 0.5746 GB, free: 14.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.2184, allocations: 1.208 MB / 0.5758 GB, free: 14.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.2185, allocations: 1.406 kB / 0.5758 GB, free: 14.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.915e-05/0.2185, allocations: 32.33 kB / 0.5758 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.2185, allocations: 18.16 kB / 0.5758 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.2203, allocations: 1.164 MB / 0.5769 GB, free: 13.97 MB / 442.7 MB 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.004809/0.2251, allocations: 2.84 MB / 0.5797 GB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004341/0.2295, allocations: 2.025 MB / 0.5817 GB, free: 12.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.2306, allocations: 0.7347 MB / 0.5824 GB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-05/0.2307, allocations: 14.59 kB / 0.5824 GB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.2307, allocations: 48.84 kB / 0.5825 GB, free: 11.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 5.35e-06/0.2308, allocations: 2.953 kB / 0.5825 GB, free: 11.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.02012/0.2509, allocations: 8.915 MB / 0.5912 GB, free: 8.734 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.2509, allocations: 91.3 kB / 0.5913 GB, free: 8.641 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.2521, allocations: 0.9347 MB / 0.5922 GB, free: 8.109 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001531/0.2523, allocations: 40.92 kB / 0.5922 GB, free: 8.066 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.2525, allocations: 494.7 kB / 0.5927 GB, free: 7.637 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/0.2528, allocations: 354 kB / 0.593 GB, free: 7.336 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.2531, allocations: 169.9 kB / 0.5932 GB, free: 7.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.2532, allocations: 346.8 kB / 0.5935 GB, free: 6.895 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.2542, allocations: 0.7003 MB / 0.5942 GB, free: 6.551 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.2553, allocations: 0.8533 MB / 0.595 GB, free: 6.051 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/0.2573, allocations: 1.574 MB / 0.5966 GB, free: 5.191 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.2573, allocations: 5.5 kB / 0.5966 GB, free: 5.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.007979/0.2653, allocations: 4.555 MB / 0.601 GB, free: 3.039 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.2653, allocations: 9.375 kB / 0.601 GB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2653, allocations: 3.469 kB / 0.601 GB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003909/0.2692, allocations: 2.291 MB / 0.6033 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/0.2697, allocations: 158.7 kB / 0.6034 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/0.2865, allocations: 10.78 MB / 0.6139 GB, free: 5.965 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.2877, allocations: 183.2 kB / 0.6141 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.714e-05/0.2877, allocations: 32 kB / 0.6142 GB, free: 5.754 MB / 458.7 MB 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.0004069/0.2881, allocations: 233 kB / 0.6144 GB, free: 5.523 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.2883, allocations: 127.2 kB / 0.6145 GB, free: 5.398 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007926/0.2962, allocations: 4.501 MB / 0.6189 GB, free: 0.918 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.2962, allocations: 9.438 kB / 0.6189 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2962, allocations: 3.938 kB / 0.6189 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.2962, allocations: 3.984 kB / 0.6189 GB, free: 0.9023 MB / 458.7 MB 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.009516/0.3058, allocations: 5.564 MB / 0.6243 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.3058, allocations: 0 / 0.6243 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/0.3061, allocations: 110.6 kB / 0.6244 GB, free: 11.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003862/0.31, allocations: 2.167 MB / 0.6266 GB, free: 9.066 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.461e-05/0.31, allocations: 16 kB / 0.6266 GB, free: 9.051 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.3241, allocations: 9.529 MB / 0.6359 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3241, allocations: 2.25 kB / 0.6359 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009711/0.3338, allocations: 5.616 MB / 0.6414 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/0.3343, allocations: 147.1 kB / 0.6415 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.3344, allocations: 16 kB / 0.6415 GB, free: 9.652 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/0.3351, allocations: 121 kB / 0.6416 GB, free: 9.535 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005849/0.3356, allocations: 244.5 kB / 0.6419 GB, free: 9.297 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/0.3358, allocations: 27.98 kB / 0.6419 GB, free: 9.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006212/0.3365, allocations: 0.6354 MB / 0.6425 GB, free: 8.625 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3365, allocations: 0 / 0.6425 GB, free: 8.625 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001164/0.3376, allocations: 455.7 kB / 0.643 GB, free: 8.18 MB / 490.7 MB 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.009561/0.3472, allocations: 6.184 MB / 0.649 GB, free: 2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00476/0.3519, allocations: 2.532 MB / 0.6515 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3519, allocations: 4.062 kB / 0.6515 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003133/0.3551, allocations: 1.73 MB / 0.6532 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008217/0.3559, allocations: 112.4 kB / 0.6533 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02422/0.3801, allocations: 16.21 MB / 0.6691 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.3805, allocations: 0.5017 MB / 0.6696 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002768/0.3808, allocations: 90.97 kB / 0.6697 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.3812, allocations: 448.9 kB / 0.6701 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/0.3812, allocations: 0 / 0.6701 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04924/0.4304, allocations: 40.99 MB / 0.7101 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.603/9.033, allocations: 18.41 kB / 0.7102 GB, free: 3.535 MB / 0.5417 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_StartFromExternal_using_VSIO_outputs_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_StartFromExternal_using_VSIO_outputs.fmu > OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_VSIO_outputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.19079478085041] Failed to read output from testmodel.py, exit status != 0: 9.14055921137333 9.15642426 8.946179936 Calling exit ...